package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface ISysAttributeDataService {
    List<List<String>> fetchAttributeList();

    // Create attribute method
    Object createAttribute(String name, String description, String nameEn, String descriptionEn, String type);

    Object deleteAttribute(String id);

    Object updateAttribute(String id, String description, String descriptionEn);

    List<List<String>> searchAttribute(@RequestParam String searchString);

}